package com.wn;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

/**
 * @author yellow Docter
 * @date 2023 -02-23
 * @desc
 */
@EnableKnife4j
@EnableSwagger2WebMvc
@MapperScan("com.wn.system.mapper")
@SpringBootApplication
@ComponentScan({"com.wn.system", "com.wn.common"})
@EnableFeignClients(basePackages = "com.wn.access.api")
public class UserSystemApplication {

    public static void main(String[] args) {

      SpringApplication.run(UserSystemApplication.class, args);

    }

}
